include_directories(${algrithm_module}/include)
add_subdirectory(${algrithm_module}/dp/)
include_directories(${CMAKE_SOURCE_DIR}/dp/include)
file(GLOB ALGORITHM_SRC ${algrithm_module}/src/*.cpp)
add_library(algorithm_single ${ALGORITHM_SRC})
target_link_libraries(algorithm_single dp)
#add_library(algorithm_single ${algorithm_source} dp src/searchInsert.cpp include/searchInsert.h src/detectCycle.cpp include/detectCycle.h src/missingNumber.cpp include/missingNumber.h src/threeOrders.cpp include/threeOrders.h src/solve.cpp include/solve.h src/mergeTrees.cpp include/mergeTrees.h src/isPail.cpp include/isPail.h dp/src/uniquePaths.cpp dp/include/uniquePaths.h src/longestPalindromeSubseq.cpp include/longestPalindromeSubseq.h src/reConstructBinaryTree.cpp include/reConstructBinaryTree.h src/hasPathSum.cpp include/hasPathSum.h src/treeRightView.cpp include/treeRightView.h src/zigzagLevelOrder.cpp include/zigzagLevelOrder.h src/spiralOrder.cpp include/spiralOrder.h)

